home *** CD-ROM | disk | FTP | other *** search
/ MacTech 1 to 12 / MacTech-vol-1-12.toast / Source / develop™ Technical Journal / develop Issue 6 code / TCP.sea / TCP / NewsWatcher / NW Source / Shared Code / Reusable Source / popuputil.h < prev    next >
Encoding:
C/C++ Source or Header  |  1994-07-18  |  505 b   |  10 lines

  1. #define    kCurrentPopupItem    0
  2.  
  3. void GetPopupCString (ControlHandle ctl, short item, char *str);
  4. void GetPopupPString (ControlHandle ctl, short item, Str255 string);
  5. void SetPopupItemStyle (ControlHandle ctl, short item, short style);
  6. void AddPopupItem (ControlHandle ctl, short after, Str255 str);
  7. void DelPopupItem (ControlHandle ctl, short item);
  8. short SetPopupValue (ControlHandle ctl, Str255 str, Boolean isNumber);
  9. short TrackPopup (ControlHandle ctl, Point where, Str255 checkItem, Boolean isNumber);
  10.